EXT=.so

SHARED= -shared -fPIC
FORTRAN_LIB= -lgfortran
BLAS_LIB= /usr/lib/libacml_mp.a -lgomp $(FORTRAN_LIB)
#BLAS_LIB= /usr/lib/libacml.a $(FORTRAN_LIB)
#BLAS_LIB= /usr/lib/libgoto2.a -lpthread $(FORTRAN_LIB)
#BLAS_LIB= -z muldefs /usr/lib/libblas.a $(FORTRAN_LIB)
LAPACK_LIB= $(BLAS_LIB)
#LAPACK_LIB= /usr/lib/liblapack.a $(BLAS_LIB)
ARPACK_LIB= ~/local/Numeric/lib/libarpack.a $(LAPACK_LIB) 
BLZPACK_LIB= ~/local/Numeric/lib/libblzpack.a $(LAPACK_LIB) 

LUA_LIB= -llua5.1
LUA_INC= -I/usr/include/lua5.1

TAUCS_LIB=~/local/Numeric/lib/libtaucs.a\
          ~/local/Numeric/lib/libmetis.a\
          $(LAPACK_LIB)
TAUCS_INC= -I ~/local/Numeric/include  

UMFPACK_LIB=~/local/Numeric/lib/libumfpack.a\
       ~/local/Numeric/lib/libcholmod.a\
       ~/local/Numeric/lib/libccolamd.a\
       ~/local/Numeric/lib/libcolamd.a\
       ~/local/Numeric/lib/libcamd.a\
       ~/local/Numeric/lib/libamd.a\
       ~/local/Numeric/lib/libmetis.a\
			 $(BLAS_LIB)
UMFPACK_INC= -I ~/local/Numeric/include  

SUPERLU_LIB= ~/local/Numeric/lib/libsuperlu.a\
       $(BLAS_LIB)
SUPERLU_INC= -I ~/local/Numeric/include  

MA57_LIB= ~/local/Numeric/lib/libma57.a ~/local/Numeric/lib/libfakemetis.a \
       $(BLAS_LIB)

MA47_LIB= ~/local/Numeric/lib/libma47.a $(BLAS_LIB)

GL2_LIB = -lGLU -lGLEW -lGL
GL2_INC = -I ../..

MAPM_LIB = ~/local/Numeric/lib/libmapm.a 
MAPM_INC= -I ~/local/Numeric/include  

BIAS_LIB = ~/local/Numeric/lib/libBias.a 
BIAS_INC= -I ~/local/Numeric/include  

GSL_LIB = -lgsl $(BLAS_LIB)
GSL_INC= 
